package com.company.oa.announcement.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.oa.announcement.entity.AnnouncementRead;

public interface AnnouncementReadService extends IService<AnnouncementRead> {
    
    IPage<AnnouncementRead> getReadRecordPage(int page, int size, Long announcementId);
    
    boolean hasRead(Long announcementId, Long userId);
} 